package cn.appsys.service.category;

import cn.appsys.dao.category.CategoryMapper;
import cn.appsys.pojo.Category;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class CategoryServiceImpl implements CategoryService {

    @Resource
    private CategoryMapper categoryMapper;
    @Override
    public List<Category> getCategoryList(Integer parentId) {
        return categoryMapper.getCategoryList(parentId);
    }
}
